Component({
  properties: {
    index:{
        type:Number
    }
  },
  data: {
  month:0,
  year:0,
  },
  methods: {
  },
  attached(){
    let date=new Date();
    let year=date.getFullYear();
    let month=date.getMonth();
    this.setData({
      year,
      month
    })
  }
})
